package org.bingo.dto;

import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

public class AddVideoDto {
    private String coverImageUrl;
    private String description;
    @NotNull(message = "m3u8Url not be null")
    private String m3u8Url;
    @NotNull(message = "title not be null")
    @Length(max = 255)
    private String title;
    @NotNull(message = "type not be null")
    private String type;

    public String getCoverImageUrl() {
        return coverImageUrl;
    }

    public void setCoverImageUrl(String coverImageUrl) {
        this.coverImageUrl = coverImageUrl;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getM3u8Url() {
        return m3u8Url;
    }

    public void setM3u8Url(String m3u8Url) {
        this.m3u8Url = m3u8Url;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
